package com.jianggy.redis.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

/**
 * @author jianggy
 * @version 1.0
 * @time 2018/12/19 14:02
 * @see
 **/
@SpringBootApplication
public class SpringbootRedisApplication {
    public static void main(String[] args){
        ApplicationContext context = SpringApplication.run(SpringbootRedisApplication.class, args);
        RedisOperation operation = (RedisOperation) context.getBean("operation");
        operation.getByKey();
        operation.put();

    }
}
